Q: I want to add a close or miniaturize button to a window after it is created.\
\
A: All the window frame buttons must be specified when you create the window. It's cleaner, in that buttons don't appear or disappear from a user's window. However, you could add the same commands to a menu, and make them dimmed or not depending on the changing state of the application.\